package com.koo.modules.kb.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.BaseEntity;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 会员信息上传
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 16:19:41
 */
@Data
@ApiModel("会员信息上传")
@TableName("kb_upload_member_data")
public class KbUploadMemberDataEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private String memberId;


    @ColumnWidth(11)
    @ExcelProperty("会员编号")
    @ApiModelProperty(value = "会员编号")
    private String memberNo;

    @ColumnWidth(11)
    @ExcelProperty("会员姓名")
    @ApiModelProperty(value = "会员姓名")
    private String memberName;

    @ColumnWidth(11)
    @ExcelProperty("会员类别")
    @ApiModelProperty(value = "会员类别")
    private Integer memberType;

    @ColumnWidth(11)
    @ExcelProperty("性别")
    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ColumnWidth(11)
    @ExcelProperty("年龄")
    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ColumnWidth(11)
    @ExcelProperty("生日")
    @ApiModelProperty(value = "生日")
    private String birthday;

    @ColumnWidth(11)
    @ExcelProperty("手机")
    @ApiModelProperty(value = "手机")
    private String mobile;

    @ColumnWidth(11)
    @ExcelProperty("微信")
    @ApiModelProperty(value = "微信")
    private String webchart;

    @ColumnWidth(11)
    @ExcelProperty("身份证")
    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ColumnWidth(11)
    @ExcelProperty("地址")
    @ApiModelProperty(value = "地址")
    private String address;

    @ColumnWidth(11)
    @ExcelProperty("累计积分")
    @ApiModelProperty(value = "累计积分")
    private Integer totalScore;

    @ColumnWidth(11)
    @ExcelProperty("剩余积分")
    @ApiModelProperty(value = "剩余积分")
    private Integer remainScore;

    @ColumnWidth(11)
    @ExcelProperty("储值金额")
    @ApiModelProperty(value = "储值金额")
    private BigDecimal storedMoney;

    @ColumnWidth(11)
    @ExcelProperty("病史描述")
    @ApiModelProperty(value = "病史描述")
    private String medicalHistory;

    @ColumnWidth(11)
    @ExcelProperty("最后消费日期1")
    @ApiModelProperty(value = "最后消费日期1")
    private Date lastExpenseDate1;

    @ColumnWidth(11)
    @ExcelProperty("最后消费日期2")
    @ApiModelProperty(value = "最后消费日期2")
    private Date lastExpenseDate2;

    @ColumnWidth(11)
    @ExcelProperty("审核状态")
    @ApiModelProperty(value = "审核状态")
    private Integer auditState;


}
